﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Village.Master" AutoEventWireup="true" CodeBehind="education.aspx.cs" Inherits="Village_Project.education" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .style2
        {
            width: 100%;
        }
        .style6
    {
        font-size: medium;
        color: #FF0066;
    }
        .style1
        {
            width: 100%;
        }
        .style4
        {
            width: 165px;
        }
        .style8
    {
        color: #FF0066;
        font-size: medium;
    }
        </style>
        
<!-- 
	After you copied those 2 lines of code , make sure you take also the files into the same folder :-)
    Next step will be to set the appropriate statement to "start-up" the calendar on the needed HTML element.
    
    The first example of Javascript snippet is for the most basic use , as a popup calendar
    for a text field input.
-->


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">



    <div id="page">
        <div id="content">
            <div class="post">
            <link rel="stylesheet" type="text/css" media="all" href="Style/jsDatePick_ltr.min.css" />
            <script type="text/javascript" src="JQuery/jsDatePick.min.1.3.js"></script>
            <!--Script-->
            <script type="text/javascript">
                window.onload = function () {
                    new JsDatePick({
                        useMode: 2,
                        target: "inputField",
                        dateFormat: "%d/%m/%Y",
                        cellColorScheme: "beige",
                        imgPath: "img/"
                    });
                };
            </script>

               <h3>
                    ข้อมูลการศึกษา</h3>


    &nbsp;<asp:Panel ID="Panel1" runat="server" GroupingText="ข้อมูลการศึกษา" 
        Visible="False">
        <br />
        <h1>
            <span class="style6">ประวัติการศึกษา</span><br />
        </h1>
        &nbsp;<br />
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="code" HeaderText="รหัส" />
                <asp:BoundField DataField="dec" HeaderText="รายละเอียด" />
                <asp:TemplateField HeaderText="วันเป้าหมาย">
                    <HeaderTemplate>
                        เลือก
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="CaseSelectoredu" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="note">
                    <HeaderTemplate>
                        ระบุรายละเอียด
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:TextBox ID="TextBoxedu" runat="server" HeaderText="note" Text=""></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <br />
        <h1 class="style6">
            การศึกษาในปัจจุบัน</h1>
        <br />
        <table class="style1">
            <tr>
                <td class="style11">
                    ระดับการศึกษา</td>
                <td class="style12">
                    <asp:RadioButtonList ID="EducationLevelRBL" runat="server">
                    </asp:RadioButtonList>
                </td>
                <td class="style12">
                    &nbsp;</td>
                <td class="style12">
                    &nbsp;</td>
                <td class="style12">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style11">
                    โรงเรียน</td>
                <td class="style12">
                    <asp:TextBox ID="School" runat="server"></asp:TextBox>
                </td>
                <td class="style12">
                    </td>
                <td class="style12">
                    </td>
                <td class="style12">
                    </td>
            </tr>
            <tr>
                <td class="style4">
                    ประเภท</td>
                <td>
                    <asp:TextBox ID="type" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style4">
                    บุคลากรที่ติดต่อได้</td>
                <td>
                    <asp:TextBox ID="Personnel" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style4">
                    โทรศัพท์</td>
                <td>
                    <asp:TextBox ID="phone" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        &nbsp;<asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            style="height: 26px" Text="บันทึก" />
    </asp:Panel>
      <asp:Panel ID="Panel2" runat="server" GroupingText="ข้อมูลการศึกษา" 
        Wrap="False">
          <br />
          <h1>
              <span class="style8">ประวัติการศึกษา</span><br />
          </h1>
          &nbsp;<br />
          <br />
          <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False">
              <Columns>
                  <asp:BoundField DataField="code" HeaderText="รหัส" />
                  <asp:BoundField DataField="dec" HeaderText="รายละเอียด" />
                  <asp:TemplateField HeaderText="note">
                      <HeaderTemplate>
                          ระบุรายละเอียด
                      </HeaderTemplate>
                      <ItemTemplate>
                          <asp:Label ID="Labeledu" runat="server" Text="Label"></asp:Label>
                      </ItemTemplate>
                  </asp:TemplateField>
              </Columns>
              <AlternatingRowStyle BackColor="White" />
              <EditRowStyle BackColor="#2461BF" />
              <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
              <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
              <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
              <RowStyle BackColor="#EFF3FB" />
              <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
              <SortedAscendingCellStyle BackColor="#F5F7FB" />
              <SortedAscendingHeaderStyle BackColor="#6D95E1" />
              <SortedDescendingCellStyle BackColor="#E9EBEF" />
              <SortedDescendingHeaderStyle BackColor="#4870BE" />
          </asp:GridView>
          <br />
          <h1 class="style8">
              การศึกษาในปัจจุบัน</h1>
          <br />
          <table class="style1">
              <tr>
                  <td class="style4">
                      <strong>โรงเรียน</strong></td>
                  <td>
                      <asp:Label ID="School0" runat="server" Text="โรงเรียน"></asp:Label>
                  </td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
              </tr>
              <tr>
                  <td class="style4">
                      <strong>ระดับชั้น</strong></td>
                  <td>
                      <asp:Label ID="level0" runat="server" Text="ระดับชั้น"></asp:Label>
                  </td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
              </tr>
              <tr>
                  <td class="style4">
                      <strong>ประเภท</strong></td>
                  <td>
                      <asp:Label ID="type0" runat="server" Text="ประเภท"></asp:Label>
                  </td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
              </tr>
              <tr>
                  <td class="style4">
                      <strong>บุคลากรที่ติดต่อได้</strong></td>
                  <td>
                      <asp:Label ID="Personnel0" runat="server" Text="บุคคลที่ติดต่อได้"></asp:Label>
                  </td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
              </tr>
              <tr>
                  <td class="style4">
                      <strong>โทรศัพท์</strong></td>
                  <td>
                      <asp:Label ID="phone0" runat="server" Text="โทร"></asp:Label>
                  </td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
                  <td>
                      &nbsp;</td>
              </tr>
          </table>
          &nbsp;<asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
              style="height: 26px" Text="แก้ไข" />
    </asp:Panel>

         
                </div>
            <br />    
            </div>



        <div id="sidebar">
		<ul>
			<li>
				<h2>Edit/Register</h2>
					<ul>
                        <li><a href="regl.aspx">ข้อมูลส่วนตัว</a></li>
                                     <li><a href="regfamily.aspx">ข้อมูลครอบครัว</a></li>
                                        
                                             <li><a href="education.aspx" class="current">ข้อมูลการศึกษา</a></li>
                                                 <li><a href="rightsinfo.aspx" >ข้อมูลสิทธิ</a></li>
                                                   <li><asp:Image ID="Image1" runat="server" Height="162px" Width="179px" /></li>
					</ul>
				</li>
			</ul>
        </div>


    </div>
</asp:Content>
